package com.example.sql_damo;

import android.app.Dialog;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.TextView;

public class dialogdomo extends Dialog {
    private String nam;
    private Button dicencel;
    private Button diok;
    private TextView dinam;

    public dialogdomo( Context context,String name) {
        super(context);
        this.nam=name;

    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_LEFT_ICON);
        setContentView(R.layout.dialog);
        dinam =findViewById(R.id.dialog_text);
        diok =findViewById(R.id.dialog_ok);
        dicencel =findViewById(R.id.dialog_cencel);
        diok.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {



            }
        });
    }

}
